package entry78.pre;

import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;

import java.io.IOException;
import java.util.Date;

import org.junit.Test;

public class PeriodHackingTest {
	@Test
	public void testHack() throws IOException, ClassNotFoundException {
		PeriodHaking hack = new PeriodHaking();

		Period p = hack.p;
		Date pEnd = hack.end;

		pEnd.setYear(78);

		assertThat(p.isValid(), is(true));
	}
}